package com.gzxx.domain.dto;

import com.gzxx.domain.bo.SysMenuBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author pengpdx
 * @Date 2020/7/24 10:45
 */
@Data
@ApiModel(value="系统菜单传输实体",description="系统菜单传输实体")
public class SysMenuDto implements Serializable {
    private static final long serialVersionUID = -7182877100821999973L;

    @ApiModelProperty(value = "菜单id", example = "1234")
    private Long id;

    @ApiModelProperty(value = "菜单名", example = "用户管理")
    private String menuName;

    @ApiModelProperty(value = "菜单父级id", example = "1")
    private Long parentId;

    @ApiModelProperty(value = "菜单url", example = "/menu/index")
    private String url;

    @ApiModelProperty(value = "菜单排序", example = "1")
    private Integer orderNum;

    @ApiModelProperty(value = "菜单类型", example = "0")
    private Integer menuType;

    @ApiModelProperty(value = "菜单唯一权限code", example = "system:menu:list")
    private String perms;

    @ApiModelProperty(value = "菜单图标url")
    private String icon;

    @ApiModelProperty(value = "创建时间")
    private Long createBy;

    @ApiModelProperty(value = "更新时间")
    private Long updateBy;
}
